<%@ page import="com.plan.WorkplanDetail" %>

<g:hiddenField name="parentId" value="${params.parentId}" />
<g:hiddenField name="parent.id"  value="${workplanDetailInstance?.parent?.id}"  />

<div class="fieldcontain ${hasErrors(bean: workplanDetailInstance, field: 'content', 'error')} required">
	<label for="content">
		<g:message code="workplanDetail.content.label" default="Content" />
		<span class="required-indicator">*</span>
	</label>
	<g:textArea name="content" required="" value="${workplanDetailInstance?.content}" style="height:200px;width:60%;"/>
</div>

<div class="fieldcontain ${hasErrors(bean: workplanDetailInstance, field: 'result', 'error')} ">
	<label for="result">
		<g:message code="workplanDetail.result.label" default="Result" />
		
	</label>
	<g:textField name="result" value="${workplanDetailInstance?.result}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: workplanDetailInstance, field: 'status', 'error')} ">
	<label for="status">
		<g:message code="workplanDetail.status.label" default="Status" />
		
	</label>
	<g:textField name="status" value="${workplanDetailInstance?.status}"/>
</div>

